package homework4.exp2;

public class Test2 {
    public static void main(String[] args) {
        TestAccount testAccount = new TestAccount();
        Thread thread = new Thread(testAccount);
        Thread thread1=new Thread(testAccount);
        thread.setName("张三的妻子");
        thread1.setName("张三");
        thread.start();
        thread1.start();
    }
}
